<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class JzMatchRelation extends BaseModel
{
    protected $table = 'jz_match_relation';
    protected $fillable = ['id','uid','oid','tid','appid','created_at'];


    public function user(){
        return $this->belongsTo(WechatUser::class,'uid');
    }

    public function order(){
        return $this->belongsTo(JzOrderDetail::class,'oid');
    }


}
